﻿//BluRip - one click BluRay/m2ts to mkv converter
//Copyright (C) 2009-2010 _hawk_

//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either version 2
//of the License, or (at your option) any later version.

//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.

//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

//Contact: hawk.ac@gmx.net

using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;

namespace BluRip
{
    public class CropInfo
    {
        public CropInfo() { }

        public CropInfo(CropInfo orig)
        {
            this.cropTop = orig.cropTop;
            this.borderBottom = orig.borderBottom;
            this.resizeX = orig.resizeX;
            this.resizeY = orig.resizeY;
            this.resizeMethod = orig.resizeMethod;
            this.borderTop = orig.borderTop;
            this.cropBottom = orig.cropBottom;
            this.errorStr = orig.errorStr;
            this.error = orig.error;
            this.resize = orig.resize;
            this.border = orig.border;
        }

        public int cropTop = 0;
        public int cropBottom = 0;
        public int resizeY = 0;
        public int resizeX = 0;
        public int resizeMethod = 4;
        public int borderTop = 0;
        public int borderBottom = 0;
        public string errorStr = "";
        public bool error = false;
        public bool resize = false;
        public bool border = false;
    }
}